package com.app.micaihu.view.home.questions.contract

import com.app.base.mvp.BaseView
import com.app.http.bean.BaseBean
import com.app.micaihu.bean.infor.UploadFileResult
import com.app.micaihu.bean.news.VideoList
import com.app.micaihu.bean.topic.RecommendTopicList
import com.app.micaihu.view.bean.QuestionList
import java.io.File

/**
 *
 */
interface QuestionsContract {
    interface View : BaseView {
        fun handleQuestionList(video: BaseBean<QuestionList?>?, loadType: Int) {}

        fun handleUploadFile(result: BaseBean<UploadFileResult?>?) {}
    }

    interface Presenter {
        /**
         * 接口
         */
        fun questionList()
        fun refresh()
        fun loadMore()

        fun upFile(file: File)
    }
}